//
//  QRCoderViewController.h
//  YSSmartHome
//
//  Created by yanghao on 2016/9/23.
//  Copyright © 2016年 yahaong. All rights reserved.
//

#import "BaseViewController.h"
#import "RestApiService.h"


typedef NS_ENUM(NSInteger, EnterScanControllerType) {
    EnterScanControllerTypeAddNewCamera = 1,
    EnterScanControllerTypeAddGateWay = 2,
    EnterScanControllerTypeAddFriend = 3
};

@interface QRCoderViewController : BaseViewController
@property (nonatomic, strong) LCOpenSDK_Api     *m_hc;
@property (nonatomic, copy)   NSString          *m_strAccessToken;
@property (nonatomic, copy)   NSString          *m_strPhone;
@property (nonatomic, assign) EnterScanControllerType enterVcType;

+ (QRCoderViewController *)createQRCoderViewController;
-(void) setInfo:(LCOpenSDK_Api*)hc token:(NSString*)token  phone:(NSString *)phone  devView:(id)view;

@end
